﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RaportyStrona.aspx.cs" Inherits="KPWeb.Reports.RaportyStrona"  %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="width: 99%; text-align: center; border: 1px solid black; background-color: Orange;
        padding: 3px; margin-bottom: 10px">
        Dokument można wydrukować po uprzednim wyeksportowaniu go na przykład do PDF'a.
    </div>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" ShowZoomControl="false" ShowPageNavigationControls="true"
        ShowFindControls="false" ToolBarItemBorderColor="Navy" 
        Font-Names="Verdana" Font-Size="8pt"  ShowBackButton="false"
        ShowRefreshButton="false" Height="800" Width="100%" 
        ShowPrintButton="false" 
      >
    <%--    <LocalReport ReportPath="Reports\testy.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="ds" />
            </DataSources>
        </LocalReport>
         <LocalReport ReportPath="Reports\List.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="ds" />
            </DataSources>
        </LocalReport>--%>
    </rsweb:ReportViewer>
  <%--  <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetData"
        TypeName="KPWeb.TestBadania.vHPersonSmall"></asp:ObjectDataSource>
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetData"
        TypeName="KPWeb.TestBadania.Employee"></asp:ObjectDataSource>--%>
    </form>
</body>
</html>
